FROM ubuntu:latest

RUN echo "deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse" > /etc/apt/sources.list && \
	echo "deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse" >> /etc/apt/sources.list && \
	echo "deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse" >> /etc/apt/sources.list && \
	echo "deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse" >> /etc/apt/sources.list && \
	echo "deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse" >> /etc/apt/sources.list && \
	apt update && \
	apt install -y net-tools curl tree vim

ENV LANG C.UTF-8

RUN apt install -y libicu-dev

ADD dotnet-sdk-3.0.100-linux-x64.tar.gz /app/dotnet
ENV DOTNET_ROOT /app/dotnet
ENV PATH $PATH:/app/dotnet

WORKDIR /home
